package org.oslims.domain;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

@Entity
@DiscriminatorValue("OPERATOR")
public class Operator extends LabStaff {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1262740945679767142L;

	@OneToMany(mappedBy="labValBy")	
	private List<ParameterResult> labValResults = new ArrayList<ParameterResult>();
	
	@OneToMany(mappedBy="measuredBy")
	private List<ParameterResult> measuredResults = new ArrayList<ParameterResult>();

	public void setLabValResults(List<ParameterResult> labValResults) {
		this.labValResults = labValResults;
	}

	public List<ParameterResult> getLabValResults() {
		return labValResults;
	}

	public void setMeasuredResults(List<ParameterResult> measuredResults) {
		this.measuredResults = measuredResults;
	}

	public List<ParameterResult> getMeasuredResults() {
		return measuredResults;
	}
	
}
